package com.adnaan.backend.entity;

import com.adnaan.backend.common.annotation.FileUrl;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * author: adnaan
 * create: 2025-02-08 20:42
 * Description:
 */
@Data
@Tag(name = "图集表")
@TableName("herbal_pic")
@EqualsAndHashCode(callSuper = true)
public class Pictures extends BaseEntity {

    @Schema(title = "图片", description = "")
    @FileUrl
    private String image;

    @Schema(title = "药材id", description = "")
    private Long herbalId;
}
